package com.mcc.app.workflow.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WfModel {

    @ApiModelProperty("模型ID")
    private String id;

    @ApiModelProperty("模型Key")
    private String modelKey;

    @ApiModelProperty("模型名称")
    private String modelName;

    @ApiModelProperty("流程分类")
    private String category;

    @ApiModelProperty("版本")
    private Integer version;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createDt;

    @ApiModelProperty("创建人")
    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private Date updateDt;

    @ApiModelProperty("流程xml")
    private String bpmnXml;

    @ApiModelProperty("是否新版本")
    private Boolean newVersion;
}
